package com.ruoyi.logCen.mapper;


import com.ruoyi.common.annotation.DataSource;
import com.ruoyi.common.enums.DataSourceType;
import com.ruoyi.logCen.domain.LogInfo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
@DataSource(DataSourceType.SLAVE)
public interface DorisMapper {

    @DataSource(DataSourceType.SLAVE)
    void insertConsumeKafkaLog(@Param("params") Map<String, Object> consumeKafkaLog);

    @DataSource(DataSourceType.SLAVE)
    void insertAnalysisLog(@Param("sqlStr") String sqlStr);
}